@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// 全局样式
.cursor{
  cursor: pointer;
}
.cell-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.cell-flex_item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}
/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
.el-table th.gutter{
  display: table-cell!important;
}
/* 解决element-ui的pagination内容列不对齐问题 */
.el-pagination__editor.el-input .el-input__inner{
  line-height: 28px;
}
/* 解决element-ui的图片放大关闭图标显示 */
.el-image-viewer__close{
  &:hover{
    color: #fff;
  }
}
/* 解决element-ui的5栏布局问题 */
.el-col.el-col-25{
  width: 20%;
}
